<%@ page language="java" import="java.util.*,com.imaker.domain.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=path %>/css/system/core.css" rel="stylesheet" type="text/css">
  </head>
  
  <body>
  <div>
		<form  action="<%=path%>/system/fastoperat/update.action" method="post">
		<s:hidden name="fastOperatInfo.id"></s:hidden>
		<s:hidden name="fastOperatInfo.createDate"></s:hidden>
		<table class="formTable">
		<tr>
		<td class="formLabel">名称</td>
		<td class="formData"><s:textfield name="fastOperatInfo.name" theme="simple" cssClass="text"></s:textfield></td>
		</tr>
		<tr>
		<td class="formLabel">URL</td>
		<td class="formData"><s:textfield name="fastOperatInfo.url" theme="simple" cssClass="text"></s:textfield></td>
		</tr>
		<tr>
		<td class="formLabel">模块名称</td>
		<td class="formData"><s:select theme="simple" cssClass="select" list="modulesList" listKey="id"  listValue="modulesName" name="fastOperatInfo.modulesInfo.id"></s:select> </td>
		</tr>
		<td class="formLabel">排序号</td>
		<td class="formData"><s:textfield name="fastOperatInfo.sortIndex" theme="simple" cssClass="text"></s:textfield></td>
		</tr>
		<tr>
		<td class="formLabel">是否可用</td>
		<td class="formData">
		<s:if test="fastOperatInfo.stat==1">
		<input type="radio" class="radio" name="fastOperatInfo.stat" value="0">不可用<input type="radio" class="radio" checked="checked" name="fastOperatInfo.stat" value="1">可用
		</s:if>
		<s:else>
		<input type="radio" class="radio" name="fastOperatInfo.stat" checked="checked" value="0">不可用<input type="radio" class="radio"  name="fastOperatInfo.stat" value="1">可用
		</s:else>
		</td>
		</tr>
		<tr>
			<td class="submit" colspan="2"><input type="button" onclick="submit()" value="保存"> </td>
		</tr>
		</table>
		</form>
	</div>
  </body>
</html>
